Skip to content

Exposed additional options (marginSize, moduleSize, & fnc1) from dmtxencode.c - #83

Open
james-duvall wants to merge 1 commit into
NaturalHistoryMuseum:masterfrom
james-duvall:master
Open

Exposed additional options (marginSize, moduleSize, & fnc1) from dmtxencode.c#83
james-duvall wants to merge 1 commit into
NaturalHistoryMuseum:masterfrom
james-duvall:master

Conversation

@james-duvall

Copy link
Copy Markdown

Hi,

Thanks for creating pylibdmtx and also for packaging the Windows libdmtx binaries in the Wheel.

I found that I needed to be able to specify the DmtxProperty.DmtxPropModuleSize and DmtxPropMarginSize parameters to encode an acceptable Data Matrix for MIL-STD-130N. These seem like very useful parameters that should be exposed by pylibdmtx.

For example, my label printer has a 180 dpi resolution and the default module size of 5 pixels makes the data matrix too big.

I created a fix that works for me, but I'd be happy to discuss and help with creating a revision that can be merged into the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant